
# with open('./text.txt','r',encoding='utf-8') as f:
#     result = f.read()
#     print(result.count('Python'))



# print(file.readlines())
# print(file.readline(),end='')



# 练习题1
# with open('./text.txt','r',encoding='utf-8') as f:
#     res = f.read()
#     print(res)
#     str_list = res.split('\n')
#     count = 0
#     for i in str_list:
#         count += 1
#     print(f"总行数为:{count}")
  
